import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/ruoyi";


//获取报名列表
export function listEntryBlank(query) {
  return request({
    url: '/entryBlank/list',
    method: 'get',
    params: query
  })
}


//获得详情
export function getInfoEntryBlank(query) {
  return request({
    url: '/entryBlank/getInfo',
    method: 'get',
    params: query
  })
}

//活动报名的相关接口
export function apply(data) {
  return request({
    url: '/entryBlank/apply',
    method: 'post',
    data: data
  })
}

//活动评分
export function grade(data) {
  return request({
    url: '/entryBlank/grade',
    method: 'post',
    data: data
  })
}

//批量或者单个选中志愿者
export function listApply(query) {
  return request({
    url: '/entryBlank/listApply',
    method: 'post',
    params: query
  })
}

//评价时的报名详情
export function listEval(data) {
  return request({
    url: '/entryBlank/listEval',
    method: 'post',
    data: data
  })
}


